﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TodoApp.Dto
{

    /// <summary>
    /// 统一返回格式
    /// </summary>
    public class SzrApiResult<T>
    {


        /// <summary>
        /// 编码
        /// </summary>
        public int code { get; set; }

        /// <summary>
        /// 提示信息
        /// </summary>
        public string msg { get; set; }


        /// <summary>
        /// 返回数据
        /// </summary>
        public  object data { get; set; }



        /// <summary>
        /// 用户名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 用户编号
        /// </summary>
        public string uId { get; set; }

        public string? userPhone { get; set; } // 手机号码

    }
}
